3.2.28 \(\int \frac {1}{(a+a \sec (e+f x))^{5/2} \sqrt {c-c \sec (e+f x)}} \, dx\) [128]

Optimal. Leaf size=270 \[ \frac {\log (\cos (e+f x)) \tan (e+f x)}{a^2 f \sqrt {a+a \sec (e+f x)} \sqrt {c-c \sec (e+f x)}}+\frac {\log (1-\sec (e+f x)) \tan (e+f x)}{8 a^2 f \sqrt {a+a \sec (e+f x)} \sqrt {c-c \sec (e+f x)}}+\frac {7 \log (1+\sec (e+f x)) \tan (e+f x)}{8 a^2 f \sqrt {a+a \sec (e+f x)} \sqrt {c-c \sec (e+f x)}}-\frac {\tan (e+f x)}{4 a^2 f (1+\sec (e+f x))^2 \sqrt {a+a \sec (e+f x)} \sqrt {c-c \sec (e+f x)}}-\frac {3 \tan (e+f x)}{4 a^2 f (1+\sec (e+f x)) \sqrt {a+a \sec (e+f x)} \sqrt {c-c \sec (e+f x)}} \]

[Out]

ln(cos(f*x+e))*tan(f*x+e)/a^2/f/(a+a*sec(f*x+e))^(1/2)/(c-c*sec(f*x+e))^(1/2)+1/8*ln(1-sec(f*x+e))*tan(f*x+e)/
a^2/f/(a+a*sec(f*x+e))^(1/2)/(c-c*sec(f*x+e))^(1/2)+7/8*ln(1+sec(f*x+e))*tan(f*x+e)/a^2/f/(a+a*sec(f*x+e))^(1/
2)/(c-c*sec(f*x+e))^(1/2)-1/4*tan(f*x+e)/a^2/f/(1+sec(f*x+e))^2/(a+a*sec(f*x+e))^(1/2)/(c-c*sec(f*x+e))^(1/2)-
3/4*tan(f*x+e)/a^2/f/(1+sec(f*x+e))/(a+a*sec(f*x+e))^(1/2)/(c-c*sec(f*x+e))^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.10, antiderivative size = 270, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {3997, 84} \begin {gather*} -\frac {3 \tan (e+f x)}{4 a^2 f (\sec (e+f x)+1) \sqrt {a \sec (e+f x)+a} \sqrt {c-c \sec (e+f x)}}-\frac {\tan (e+f x)}{4 a^2 f (\sec (e+f x)+1)^2 \sqrt {a \sec (e+f x)+a} \sqrt {c-c \sec (e+f x)}}+\frac {\tan (e+f x) \log (1-\sec (e+f x))}{8 a^2 f \sqrt {a \sec (e+f x)+a} \sqrt {c-c \sec (e+f x)}}+\frac {7 \tan (e+f x) \log (\sec (e+f x)+1)}{8 a^2 f \sqrt {a \sec (e+f x)+a} \sqrt {c-c \sec (e+f x)}}+\frac {\tan (e+f x) \log (\cos (e+f x))}{a^2 f \sqrt {a \sec (e+f x)+a} \sqrt {c-c \sec (e+f x)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[1/((a + a*Sec[e + f*x])^(5/2)*Sqrt[c - c*Sec[e + f*x]]),x]

[Out]

(Log[Cos[e + f*x]]*Tan[e + f*x])/(a^2*f*Sqrt[a + a*Sec[e + f*x]]*Sqrt[c - c*Sec[e + f*x]]) + (Log[1 - Sec[e +
f*x]]*Tan[e + f*x])/(8*a^2*f*Sqrt[a + a*Sec[e + f*x]]*Sqrt[c - c*Sec[e + f*x]]) + (7*Log[1 + Sec[e + f*x]]*Tan
[e + f*x])/(8*a^2*f*Sqrt[a + a*Sec[e + f*x]]*Sqrt[c - c*Sec[e + f*x]]) - Tan[e + f*x]/(4*a^2*f*(1 + Sec[e + f*
x])^2*Sqrt[a + a*Sec[e + f*x]]*Sqrt[c - c*Sec[e + f*x]]) - (3*Tan[e + f*x])/(4*a^2*f*(1 + Sec[e + f*x])*Sqrt[a
 + a*Sec[e + f*x]]*Sqrt[c - c*Sec[e + f*x]])

Rule 84

Int[((e_.) + (f_.)*(x_))^(p_.)/(((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))), x_Symbol] :> Int[ExpandIntegrand[(
e + f*x)^p/((a + b*x)*(c + d*x)), x], x] /; FreeQ[{a, b, c, d, e, f}, x] && IntegerQ[p]

Rule 3997

Int[(csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_))^(m_.)*(csc[(e_.) + (f_.)*(x_)]*(d_.) + (c_))^(n_.), x_Symbol] :> Di
st[a*c*(Cot[e + f*x]/(f*Sqrt[a + b*Csc[e + f*x]]*Sqrt[c + d*Csc[e + f*x]])), Subst[Int[(a + b*x)^(m - 1/2)*((c
 + d*x)^(n - 1/2)/x), x], x, Csc[e + f*x]], x] /; FreeQ[{a, b, c, d, e, f, m, n}, x] && EqQ[b*c + a*d, 0] && E
qQ[a^2 - b^2, 0]

Rubi steps

\begin {align*} \int \frac {1}{(a+a \sec (e+f x))^{5/2} \sqrt {c-c \sec (e+f x)}} \, dx &=-\frac {(a c \tan (e+f x)) \text {Subst}\left (\int \frac {1}{x (a+a x)^3 (c-c x)} \, dx,x,\sec (e+f x)\right )}{f \sqrt {a+a \sec (e+f x)} \sqrt {c-c \sec (e+f x)}}\\ &=-\frac {(a c \tan (e+f x)) \text {Subst}\left (\int \left (-\frac {1}{8 a^3 c (-1+x)}+\frac {1}{a^3 c x}-\frac {1}{2 a^3 c (1+x)^3}-\frac {3}{4 a^3 c (1+x)^2}-\frac {7}{8 a^3 c (1+x)}\right ) \, dx,x,\sec (e+f x)\right )}{f \sqrt {a+a \sec (e+f x)} \sqrt {c-c \sec (e+f x)}}\\ &=\frac {\log (\cos (e+f x)) \tan (e+f x)}{a^2 f \sqrt {a+a \sec (e+f x)} \sqrt {c-c \sec (e+f x)}}+\frac {\log (1-\sec (e+f x)) \tan (e+f x)}{8 a^2 f \sqrt {a+a \sec (e+f x)} \sqrt {c-c \sec (e+f x)}}+\frac {7 \log (1+\sec (e+f x)) \tan (e+f x)}{8 a^2 f \sqrt {a+a \sec (e+f x)} \sqrt {c-c \sec (e+f x)}}-\frac {\tan (e+f x)}{4 a^2 f (1+\sec (e+f x))^2 \sqrt {a+a \sec (e+f x)} \sqrt {c-c \sec (e+f x)}}-\frac {3 \tan (e+f x)}{4 a^2 f (1+\sec (e+f x)) \sqrt {a+a \sec (e+f x)} \sqrt {c-c \sec (e+f x)}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C] Result contains complex when optimal does not.
time = 1.74, size = 195, normalized size = 0.72 \begin {gather*} \frac {\left (8-12 i f x+3 \log \left (1-e^{i (e+f x)}\right )+21 \log \left (1+e^{i (e+f x)}\right )+\cos (2 (e+f x)) \left (-4 i f x+\log \left (1-e^{i (e+f x)}\right )+7 \log \left (1+e^{i (e+f x)}\right )\right )+2 \cos (e+f x) \left (5-8 i f x+2 \log \left (1-e^{i (e+f x)}\right )+14 \log \left (1+e^{i (e+f x)}\right )\right )\right ) \tan (e+f x)}{8 a^2 f (1+\cos (e+f x))^2 \sqrt {a (1+\sec (e+f x))} \sqrt {c-c \sec (e+f x)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[1/((a + a*Sec[e + f*x])^(5/2)*Sqrt[c - c*Sec[e + f*x]]),x]

[Out]

((8 - (12*I)*f*x + 3*Log[1 - E^(I*(e + f*x))] + 21*Log[1 + E^(I*(e + f*x))] + Cos[2*(e + f*x)]*((-4*I)*f*x + L
og[1 - E^(I*(e + f*x))] + 7*Log[1 + E^(I*(e + f*x))]) + 2*Cos[e + f*x]*(5 - (8*I)*f*x + 2*Log[1 - E^(I*(e + f*
x))] + 14*Log[1 + E^(I*(e + f*x))]))*Tan[e + f*x])/(8*a^2*f*(1 + Cos[e + f*x])^2*Sqrt[a*(1 + Sec[e + f*x])]*Sq
rt[c - c*Sec[e + f*x]])

________________________________________________________________________________________

Maple [A]
time = 0.29, size = 223, normalized size = 0.83

method result size
default \(\frac {\sqrt {\frac {a \left (\cos \left (f x +e \right )+1\right )}{\cos \left (f x +e \right )}}\, \left (-1+\cos \left (f x +e \right )\right )^{3} \left (16 \left (\cos ^{2}\left (f x +e \right )\right ) \ln \left (\frac {2}{\cos \left (f x +e \right )+1}\right )-4 \left (\cos ^{2}\left (f x +e \right )\right ) \ln \left (-\frac {-1+\cos \left (f x +e \right )}{\sin \left (f x +e \right )}\right )+9 \left (\cos ^{2}\left (f x +e \right )\right )+32 \cos \left (f x +e \right ) \ln \left (\frac {2}{\cos \left (f x +e \right )+1}\right )-8 \cos \left (f x +e \right ) \ln \left (-\frac {-1+\cos \left (f x +e \right )}{\sin \left (f x +e \right )}\right )-2 \cos \left (f x +e \right )+16 \ln \left (\frac {2}{\cos \left (f x +e \right )+1}\right )-4 \ln \left (-\frac {-1+\cos \left (f x +e \right )}{\sin \left (f x +e \right )}\right )-7\right )}{16 f \sqrt {\frac {c \left (-1+\cos \left (f x +e \right )\right )}{\cos \left (f x +e \right )}}\, \sin \left (f x +e \right )^{5} a^{3}}\) \(223\)
risch \(\frac {\left ({\mathrm e}^{i \left (f x +e \right )}+1\right ) \left ({\mathrm e}^{i \left (f x +e \right )}-1\right ) x}{a^{2} \sqrt {\frac {a \left ({\mathrm e}^{i \left (f x +e \right )}+1\right )^{2}}{{\mathrm e}^{2 i \left (f x +e \right )}+1}}\, \left ({\mathrm e}^{2 i \left (f x +e \right )}+1\right ) \sqrt {\frac {c \left ({\mathrm e}^{i \left (f x +e \right )}-1\right )^{2}}{{\mathrm e}^{2 i \left (f x +e \right )}+1}}}-\frac {2 \left ({\mathrm e}^{i \left (f x +e \right )}+1\right ) \left ({\mathrm e}^{i \left (f x +e \right )}-1\right ) \left (f x +e \right )}{a^{2} \sqrt {\frac {a \left ({\mathrm e}^{i \left (f x +e \right )}+1\right )^{2}}{{\mathrm e}^{2 i \left (f x +e \right )}+1}}\, \left ({\mathrm e}^{2 i \left (f x +e \right )}+1\right ) \sqrt {\frac {c \left ({\mathrm e}^{i \left (f x +e \right )}-1\right )^{2}}{{\mathrm e}^{2 i \left (f x +e \right )}+1}}\, f}-\frac {i \left (5 \,{\mathrm e}^{2 i \left (f x +e \right )}+8 \,{\mathrm e}^{i \left (f x +e \right )}+5\right ) \left ({\mathrm e}^{2 i \left (f x +e \right )}-{\mathrm e}^{i \left (f x +e \right )}\right )}{2 a^{2} \left ({\mathrm e}^{i \left (f x +e \right )}+1\right )^{3} \sqrt {\frac {a \left ({\mathrm e}^{i \left (f x +e \right )}+1\right )^{2}}{{\mathrm e}^{2 i \left (f x +e \right )}+1}}\, \left ({\mathrm e}^{2 i \left (f x +e \right )}+1\right ) \sqrt {\frac {c \left ({\mathrm e}^{i \left (f x +e \right )}-1\right )^{2}}{{\mathrm e}^{2 i \left (f x +e \right )}+1}}\, f}-\frac {i \left ({\mathrm e}^{i \left (f x +e \right )}+1\right ) \left ({\mathrm e}^{i \left (f x +e \right )}-1\right ) \ln \left ({\mathrm e}^{i \left (f x +e \right )}-1\right )}{4 a^{2} \sqrt {\frac {a \left ({\mathrm e}^{i \left (f x +e \right )}+1\right )^{2}}{{\mathrm e}^{2 i \left (f x +e \right )}+1}}\, \left ({\mathrm e}^{2 i \left (f x +e \right )}+1\right ) \sqrt {\frac {c \left ({\mathrm e}^{i \left (f x +e \right )}-1\right )^{2}}{{\mathrm e}^{2 i \left (f x +e \right )}+1}}\, f}-\frac {7 i \left ({\mathrm e}^{i \left (f x +e \right )}+1\right ) \left ({\mathrm e}^{i \left (f x +e \right )}-1\right ) \ln \left ({\mathrm e}^{i \left (f x +e \right )}+1\right )}{4 a^{2} \sqrt {\frac {a \left ({\mathrm e}^{i \left (f x +e \right )}+1\right )^{2}}{{\mathrm e}^{2 i \left (f x +e \right )}+1}}\, \left ({\mathrm e}^{2 i \left (f x +e \right )}+1\right ) \sqrt {\frac {c \left ({\mathrm e}^{i \left (f x +e \right )}-1\right )^{2}}{{\mathrm e}^{2 i \left (f x +e \right )}+1}}\, f}\) \(582\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(a+a*sec(f*x+e))^(5/2)/(c-c*sec(f*x+e))^(1/2),x,method=_RETURNVERBOSE)

[Out]

1/16/f*(a*(cos(f*x+e)+1)/cos(f*x+e))^(1/2)*(-1+cos(f*x+e))^3*(16*cos(f*x+e)^2*ln(2/(cos(f*x+e)+1))-4*cos(f*x+e
)^2*ln(-(-1+cos(f*x+e))/sin(f*x+e))+9*cos(f*x+e)^2+32*cos(f*x+e)*ln(2/(cos(f*x+e)+1))-8*cos(f*x+e)*ln(-(-1+cos
(f*x+e))/sin(f*x+e))-2*cos(f*x+e)+16*ln(2/(cos(f*x+e)+1))-4*ln(-(-1+cos(f*x+e))/sin(f*x+e))-7)/(c*(-1+cos(f*x+
e))/cos(f*x+e))^(1/2)/sin(f*x+e)^5/a^3

________________________________________________________________________________________

Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 2398 vs. \(2 (262) = 524\).
time = 0.77, size = 2398, normalized size = 8.88 \begin {gather*} \text {Too large to display} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+a*sec(f*x+e))^(5/2)/(c-c*sec(f*x+e))^(1/2),x, algorithm="maxima")

[Out]

-1/4*(4*(f*x + e)*cos(4*f*x + 4*e)^2 + 144*(f*x + e)*cos(2*f*x + 2*e)^2 + 64*(f*x + e)*cos(3/2*arctan2(sin(2*f
*x + 2*e), cos(2*f*x + 2*e)))^2 + 64*(f*x + e)*cos(1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e)))^2 + 4*(f*x
 + e)*sin(4*f*x + 4*e)^2 + 144*(f*x + e)*sin(2*f*x + 2*e)^2 + 64*(f*x + e)*sin(3/2*arctan2(sin(2*f*x + 2*e), c
os(2*f*x + 2*e)))^2 + 64*(f*x + e)*sin(1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e)))^2 + 4*f*x - 7*(2*(6*co
s(2*f*x + 2*e) + 1)*cos(4*f*x + 4*e) + cos(4*f*x + 4*e)^2 + 36*cos(2*f*x + 2*e)^2 + 8*(cos(4*f*x + 4*e) + 6*co
s(2*f*x + 2*e) + 4*cos(1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) + 1)*cos(3/2*arctan2(sin(2*f*x + 2*e),
 cos(2*f*x + 2*e))) + 16*cos(3/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e)))^2 + 8*(cos(4*f*x + 4*e) + 6*cos(
2*f*x + 2*e) + 1)*cos(1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) + 16*cos(1/2*arctan2(sin(2*f*x + 2*e),
cos(2*f*x + 2*e)))^2 + sin(4*f*x + 4*e)^2 + 12*sin(4*f*x + 4*e)*sin(2*f*x + 2*e) + 36*sin(2*f*x + 2*e)^2 + 8*(
sin(4*f*x + 4*e) + 6*sin(2*f*x + 2*e) + 4*sin(1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))))*sin(3/2*arctan
2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) + 16*sin(3/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e)))^2 + 8*(sin(4*
f*x + 4*e) + 6*sin(2*f*x + 2*e))*sin(1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) + 16*sin(1/2*arctan2(sin
(2*f*x + 2*e), cos(2*f*x + 2*e)))^2 + 12*cos(2*f*x + 2*e) + 1)*arctan2(sin(1/2*arctan2(sin(2*f*x + 2*e), cos(2
*f*x + 2*e))), cos(1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) + 1) - (2*(6*cos(2*f*x + 2*e) + 1)*cos(4*f
*x + 4*e) + cos(4*f*x + 4*e)^2 + 36*cos(2*f*x + 2*e)^2 + 8*(cos(4*f*x + 4*e) + 6*cos(2*f*x + 2*e) + 4*cos(1/2*
arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) + 1)*cos(3/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) + 16*co
s(3/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e)))^2 + 8*(cos(4*f*x + 4*e) + 6*cos(2*f*x + 2*e) + 1)*cos(1/2*a
rctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) + 16*cos(1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e)))^2 + sin(
4*f*x + 4*e)^2 + 12*sin(4*f*x + 4*e)*sin(2*f*x + 2*e) + 36*sin(2*f*x + 2*e)^2 + 8*(sin(4*f*x + 4*e) + 6*sin(2*
f*x + 2*e) + 4*sin(1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))))*sin(3/2*arctan2(sin(2*f*x + 2*e), cos(2*f
*x + 2*e))) + 16*sin(3/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e)))^2 + 8*(sin(4*f*x + 4*e) + 6*sin(2*f*x +
2*e))*sin(1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) + 16*sin(1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x +
2*e)))^2 + 12*cos(2*f*x + 2*e) + 1)*arctan2(sin(1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))), cos(1/2*arct
an2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) - 1) + 8*(f*x + 6*(f*x + e)*cos(2*f*x + 2*e) + e - 2*sin(2*f*x + 2*e)
)*cos(4*f*x + 4*e) + 48*(f*x + e)*cos(2*f*x + 2*e) + 2*(16*f*x + 16*(f*x + e)*cos(4*f*x + 4*e) + 96*(f*x + e)*
cos(2*f*x + 2*e) + 64*(f*x + e)*cos(1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) + 16*e + 5*sin(4*f*x + 4*
e) - 2*sin(2*f*x + 2*e))*cos(3/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) + 2*(16*f*x + 16*(f*x + e)*cos(4
*f*x + 4*e) + 96*(f*x + e)*cos(2*f*x + 2*e) + 16*e + 5*sin(4*f*x + 4*e) - 2*sin(2*f*x + 2*e))*cos(1/2*arctan2(
sin(2*f*x + 2*e), cos(2*f*x + 2*e))) + 16*(3*(f*x + e)*sin(2*f*x + 2*e) + cos(2*f*x + 2*e))*sin(4*f*x + 4*e) +
 2*(16*(f*x + e)*sin(4*f*x + 4*e) + 96*(f*x + e)*sin(2*f*x + 2*e) + 64*(f*x + e)*sin(1/2*arctan2(sin(2*f*x + 2
*e), cos(2*f*x + 2*e))) - 5*cos(4*f*x + 4*e) + 2*cos(2*f*x + 2*e) - 5)*sin(3/2*arctan2(sin(2*f*x + 2*e), cos(2
*f*x + 2*e))) + 2*(16*(f*x + e)*sin(4*f*x + 4*e) + 96*(f*x + e)*sin(2*f*x + 2*e) - 5*cos(4*f*x + 4*e) + 2*cos(
2*f*x + 2*e) - 5)*sin(1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) + 4*e - 16*sin(2*f*x + 2*e))/((a^2*cos(
4*f*x + 4*e)^2 + 36*a^2*cos(2*f*x + 2*e)^2 + 16*a^2*cos(3/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e)))^2 + 1
6*a^2*cos(1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e)))^2 + a^2*sin(4*f*x + 4*e)^2 + 12*a^2*sin(4*f*x + 4*e
)*sin(2*f*x + 2*e) + 36*a^2*sin(2*f*x + 2*e)^2 + 16*a^2*sin(3/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e)))^2
 + 16*a^2*sin(1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e)))^2 + 12*a^2*cos(2*f*x + 2*e) + a^2 + 2*(6*a^2*co
s(2*f*x + 2*e) + a^2)*cos(4*f*x + 4*e) + 8*(a^2*cos(4*f*x + 4*e) + 6*a^2*cos(2*f*x + 2*e) + 4*a^2*cos(1/2*arct
an2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) + a^2)*cos(3/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) + 8*(a^2*
cos(4*f*x + 4*e) + 6*a^2*cos(2*f*x + 2*e) + a^2)*cos(1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) + 8*(a^2
*sin(4*f*x + 4*e) + 6*a^2*sin(2*f*x + 2*e) + 4*a^2*sin(1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))))*sin(3
/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) + 8*(a^2*sin(4*f*x + 4*e) + 6*a^2*sin(2*f*x + 2*e))*sin(1/2*ar
ctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))))*sqrt(a)*sqrt(c)*f)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+a*sec(f*x+e))^(5/2)/(c-c*sec(f*x+e))^(1/2),x, algorithm="fricas")

[Out]

integral(-sqrt(a*sec(f*x + e) + a)*sqrt(-c*sec(f*x + e) + c)/(a^3*c*sec(f*x + e)^4 + 2*a^3*c*sec(f*x + e)^3 -
2*a^3*c*sec(f*x + e) - a^3*c), x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\left (a \left (\sec {\left (e + f x \right )} + 1\right )\right )^{\frac {5}{2}} \sqrt {- c \left (\sec {\left (e + f x \right )} - 1\right )}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+a*sec(f*x+e))**(5/2)/(c-c*sec(f*x+e))**(1/2),x)

[Out]

Integral(1/((a*(sec(e + f*x) + 1))**(5/2)*sqrt(-c*(sec(e + f*x) - 1))), x)

________________________________________________________________________________________

Giac [A]
time = 1.75, size = 144, normalized size = 0.53 \begin {gather*} \frac {\frac {2 \, \sqrt {-a c} \log \left ({\left | c \right |} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2}\right )}{a^{3} {\left | c \right |}} - \frac {16 \, \sqrt {-a c} \log \left ({\left | c \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} + c \right |}\right )}{a^{3} {\left | c \right |}} - \frac {{\left (c \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} - c\right )}^{2} \sqrt {-a c} a^{3} c^{2} {\left | c \right |} - 6 \, {\left (c \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} - c\right )} \sqrt {-a c} a^{3} c^{3} {\left | c \right |}}{a^{6} c^{6}}}{16 \, f} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+a*sec(f*x+e))^(5/2)/(c-c*sec(f*x+e))^(1/2),x, algorithm="giac")

[Out]

1/16*(2*sqrt(-a*c)*log(abs(c)*tan(1/2*f*x + 1/2*e)^2)/(a^3*abs(c)) - 16*sqrt(-a*c)*log(abs(c*tan(1/2*f*x + 1/2
*e)^2 + c))/(a^3*abs(c)) - ((c*tan(1/2*f*x + 1/2*e)^2 - c)^2*sqrt(-a*c)*a^3*c^2*abs(c) - 6*(c*tan(1/2*f*x + 1/
2*e)^2 - c)*sqrt(-a*c)*a^3*c^3*abs(c))/(a^6*c^6))/f

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {1}{{\left (a+\frac {a}{\cos \left (e+f\,x\right )}\right )}^{5/2}\,\sqrt {c-\frac {c}{\cos \left (e+f\,x\right )}}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/((a + a/cos(e + f*x))^(5/2)*(c - c/cos(e + f*x))^(1/2)),x)

[Out]

int(1/((a + a/cos(e + f*x))^(5/2)*(c - c/cos(e + f*x))^(1/2)), x)

________________________________________________________________________________________